package com.esd.crm.service;

import java.util.List;
import java.util.Map;

import com.esd.crm.entity.Customer;

public interface CustomerService {

	public int deleteByPrimaryKey(Integer id);

	public int insert(Customer record);

	public int insertSelective(Customer record);

	public Customer selectByPrimaryKey(Integer id);

	public List<Customer> selectByParam(Map<String, Object> param);

	public int selectByParamCount(Map<String, Object> param);

	public List<Customer> selectByName(String name, int page, int totle);

	public int selectByNameCount(String name);

	public List<Customer> selectByNumber(String number, int page, int totle);

	public int selectByNumberCount(String number);

	public int updateByPrimaryKeySelective(Customer record);

	public int updateByPrimaryKey(Customer record);

}
